Use correct enums instead of ints.