Implement custom convex callback classes. ConvexResultCallback and ClosestConvexResultCallback can now be inherited.