This has been removed in the new ActivityHandler class.