add Encoding.compatibility?
add method visibility predicate methods