add basic mongoid support