revert s/::/\.prototype\./g
fix outdated links to `StateController`