Change enum type from int to byte