Adding serializableXml method to Elements