Adapt to DM 4.1.1:

drop clientState parameter from certain Core API calls.