Refactoring Xml reader constructors