Patch to prevent thread safety errors in TypeMapping.
Related to http://marc.theaimsgroup.com/?l=axis-user&m=114993403032512&w=2
