Split out Encode and Decode Mix classes