remove generic encoding/decoding methods