Update polymorphic API and tests to deal with PatherState.