Base activity.