allow model.defineProperties to be called with an object and allow the property to have a string for the type instead of an object.