Simplify config with canBeEnabled() and canBeDisabled()