Removed access to real_activity