Move unsigned int functions to new object
Allow customization of type decoding