Adapt plugins to Core changes (#696).

Remove ClientState parameter from all methods.

See #696.