Added registry class variable to MongoMixin (moved from SimpleDbLayer)