Force enums as ints - to avoid warning/errors.