Use the enum value instead of the integer value for the last argument.