Add missing documentation

Add some initial documentation for the bulk of the xml API.