rm Encoding class