Implementation of MyMongoid Lifecycle Callbacks