Minor cleanup in translator module.