some minor cycpp fixes

These are needed for the agent docs.