Provides implementation of the perform phase of the activity flow. See general-activity-flow for more info.