Encode instead of transform.