Updated the model binder to the new attr syntax