Added compatibility with Y.Model

Related bug https://github.com/yahoo/mojito/issues/259