Added getLastActivities to the object