[IMP] translate: small, non-breaking code improvements