Minor commit due to MongoMapper refactor which remove InstanceMethods.

See this commit on MongoMapper for when this broke:
https://github.com/jnunemaker/mongomapper/commit/d2333d944ce6ae59ecab3c45e25bbed261f8180e
Workaround for https://github.com/mongomapper/mongomapper/issues/550.