Forgot to support the "enabled" attribute
Refactor syncModelAttributes