Changed from "as" methods to "to" methods in string state converters.
Made the state validator constructors more compact.
Removed dead code.
Prepared to use string state converter when converting to string state (partial commit).