I changed this to inherit from BaseDeviate.  It is possible to inherit from wrapped C++ classes, so it's worth doing here.