Remove unused code, add EMongoException