diff --git a/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java b/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java
index 81df171277405a94f32da66caf9e7d83f1353b30..cbae6952c182ef61d706a3defe87e0764752f3d7 100644
--- a/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java
+++ b/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java
@@ -17,7 +17,7 @@
 package com.android.inputmethod.compat;
 
 import android.inputmethodservice.InputMethodService;
-import com.android.inputmethod.latin.define.ProductionFlag;
+import com.android.inputmethod.latin.define.ProductionFlags;
 
 import java.lang.reflect.Method;
 
@@ -37,7 +37,7 @@ public final class InputMethodServiceCompatUtils {
     }
 
     public static void setCursorAnchorMonitorMode(final InputMethodService ims, final int mode) {
-        if (ProductionFlag.USES_CURSOR_ANCHOR_MONITOR) {
+        if (ProductionFlags.USES_CURSOR_ANCHOR_MONITOR) {
             ExperimentalAPIUtils.setCursorAnchorMonitorMode(ims, mode);
         }
     }
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index e1f34ee4884318f31d6cd4de3b212fdfaaa4b0d2..dd0060f4a45fda30bedc34ce161389cc9033b9f3 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -69,7 +69,7 @@ import com.android.inputmethod.keyboard.MainKeyboardView;
 import com.android.inputmethod.latin.Suggest.OnGetSuggestedWordsCallback;
 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
 import com.android.inputmethod.latin.define.DebugFlags;
-import com.android.inputmethod.latin.define.ProductionFlag;
+import com.android.inputmethod.latin.define.ProductionFlags;
 import com.android.inputmethod.latin.inputlogic.InputLogic;
 import com.android.inputmethod.latin.personalization.ContextualDictionaryUpdater;
 import com.android.inputmethod.latin.personalization.DictionaryDecayBroadcastReciever;
@@ -413,7 +413,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                 if (latinIme != null) {
                     executePendingImsCallback(latinIme, editorInfo, restarting);
                     latinIme.onStartInputInternal(editorInfo, restarting);
-                    if (ProductionFlag.USES_CURSOR_ANCHOR_MONITOR) {
+                    if (ProductionFlags.USES_CURSOR_ANCHOR_MONITOR) {
                         // Currently we need to call this every time when the IME is attached to
                         // new application.
                         // TODO: Consider if we can do this automatically in the framework.
@@ -1564,7 +1564,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
     // Hooks for hardware keyboard
     @Override
     public boolean onKeyDown(final int keyCode, final KeyEvent keyEvent) {
-        if (!ProductionFlag.IS_HARDWARE_KEYBOARD_SUPPORTED) {
+        if (!ProductionFlags.IS_HARDWARE_KEYBOARD_SUPPORTED) {
             return super.onKeyDown(keyCode, keyEvent);
         }
         final Event event = getHardwareKeyEventDecoder(
diff --git a/java/src/com/android/inputmethod/latin/define/ProductionFlag.java b/java/src/com/android/inputmethod/latin/define/ProductionFlags.java
similarity index 95%
rename from java/src/com/android/inputmethod/latin/define/ProductionFlag.java
rename to java/src/com/android/inputmethod/latin/define/ProductionFlags.java
index 972580298d4357aaf0cd3f4e8cca4a5f38ca7a0d..6dccd789d041b81c934b00c3750a9e72802780d4 100644
--- a/java/src/com/android/inputmethod/latin/define/ProductionFlag.java
+++ b/java/src/com/android/inputmethod/latin/define/ProductionFlags.java
@@ -16,8 +16,8 @@
 
 package com.android.inputmethod.latin.define;
 
-public final class ProductionFlag {
-    private ProductionFlag() {
+public final class ProductionFlags {
+    private ProductionFlags() {
         // This class is not publicly instantiable.
     }
 
diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java b/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java
index 5a26a77cf4018d112b41c162203ed6e577fadd92..a9d95fc82388e6fcaf2f7860da8314ca783f7dce 100644
--- a/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java
+++ b/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java
@@ -43,7 +43,7 @@ import com.android.inputmethod.keyboard.KeyboardTheme;
 import com.android.inputmethod.latin.AudioAndHapticFeedbackManager;
 import com.android.inputmethod.latin.R;
 import com.android.inputmethod.latin.SubtypeSwitcher;
-import com.android.inputmethod.latin.define.ProductionFlag;
+import com.android.inputmethod.latin.define.ProductionFlags;
 import com.android.inputmethod.latin.setup.LauncherIconVisibilityManager;
 import com.android.inputmethod.latin.userdictionary.UserDictionaryList;
 import com.android.inputmethod.latin.userdictionary.UserDictionarySettings;
@@ -199,7 +199,7 @@ public final class SettingsFragment extends InputMethodSettingsFragment
             correctionScreen.removePreference(dictionaryLink);
         }
 
-        if (ProductionFlag.IS_METRICS_LOGGING_SUPPORTED) {
+        if (ProductionFlags.IS_METRICS_LOGGING_SUPPORTED) {
             final Preference enableMetricsLogging =
                     findPreference(Settings.PREF_ENABLE_METRICS_LOGGING);
             if (enableMetricsLogging != null) {
diff --git a/java/src/com/android/inputmethod/latin/utils/SuggestionResults.java b/java/src/com/android/inputmethod/latin/utils/SuggestionResults.java
index 5c109a68cb7bb7002f3baabecc00fa936a25b60e..7170bd789a8638702d54625377594a2646da9a1f 100644
--- a/java/src/com/android/inputmethod/latin/utils/SuggestionResults.java
+++ b/java/src/com/android/inputmethod/latin/utils/SuggestionResults.java
@@ -17,7 +17,7 @@
 package com.android.inputmethod.latin.utils;
 
 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
-import com.android.inputmethod.latin.define.ProductionFlag;
+import com.android.inputmethod.latin.define.ProductionFlags;
 
 import java.util.ArrayList;
 import java.util.Collection;
@@ -43,7 +43,7 @@ public final class SuggestionResults extends TreeSet<SuggestedWordInfo> {
         super(comparator);
         mLocale = locale;
         mCapacity = capacity;
-        if (ProductionFlag.INCLUDE_RAW_SUGGESTIONS) {
+        if (ProductionFlags.INCLUDE_RAW_SUGGESTIONS) {
             mRawSuggestions = new ArrayList<>();
         } else {
             mRawSuggestions = null;