Changed typedefs to use stdint values, added unsigned versions.