Add field initializer to Activity.