Use enumerators instead of hardcoded integers when we decide if keyword is enabled.