semi-revert: Encoders need to be imported