Trying to make support of mongoid version 4.0.0.beta1. Again.