Move setting "action" and "guard" to their own configuration methods