* commit 'a981e3b01ae6af2b67e582f0d1cbb95560d05626': Move certain internal activity manager methods to new class.