Code looks good so far. There is still one JS test failing and the minified versions needs to be updated.
Guess we also need to update the developer documentation afterwards so the new methods are mentioned there.
Created dev docs PR here: https://github.com/matomo-org/developer-documentation/pull/258
For the addition to the docs, here is some text that can be added after the