* Switched to unsigned shorts for base types. Tested.