Added WireFormat class and make BinaryXmlWireFormat inherit from it.