types exported to js, used to map xml to objects.