Use removeEncodingDeclaration