Refactoring: Decoupled XML serialisation from Core project.