Xml documentation

(a bit of it, at least.)