ensuring constructor acts like toXml is less important after refactoring
added javadoc for getter
removed a field that is never used along with associated logic