Plugins cpp docs

The last 5 commits were never part of last merge