Fixed a bug introduced by renaming the ApiTranslator.