Added decoder class.