cppmm doesn't support overriding the virtual methods of cpp classes it's wrapping. Add support for that.