Changed enum values to unsigned integers.