Remove dubious Java/XML WTF code