Fix printable implementation
Fix XML printing