fix outdated `State::apply`
s/::/\.prototype\./g