Refactored out the Flag enum from LocalizeConfig.
Added some javadoc.