Changed the scope of the class activity.