support mongoid4