Fix StateParser for compilation -- does not compile due to errors in dependencies