Cleaned up https://github.com/Sammaye/MongoYii/pull/209