Also provides some helper functions and datatypes for use outside of WAI.