Moved encodings into namespaces.