Added an interface for the activities.