Be strict about ModelType expected types. Also change Object type to Dict.