Adjusted to new API.
Renamed smaller_lex_count to lex_smaller_count
Renamed constants namespace to conf