Change encoder/decoder interface to be explicit about transformations being performed.