MongoCatalog: minor refactor.