Remove MongoRepository refs, add custom errors "off" in config