Added state tracker for parser; wraps a vector of languages.