Extends the XML APIs with useful types and operations.