Clean code for the decoder.