Implement remaining instructions to Encoder.