Initial stab at moving code from Relaxed Web Services module to this module