Make sure translate.uses() is defined before falling back on default code