Code for optional activities.