use repr(u16) for generated enums