Provide a simple implementation of transformTry for backend.
Will need to revisit it later in order to generate faster code.