Made XML document member variable readonly - it's only set once, in the constructor