This depends on XEP-0313 for its MAM metadata, and many others such as XEP-0198, XEP-0280 and XEP-0352 for the inline features, but we currently provide those as minidom Elements instead.