Added interface generation for MongoAdapter