verified that toXML is functioning as expected. Half-assed fleshing out of layer class