Allow class callbacks for report functions

This allows class-based callbacks instead of pure functions to be used for adding reports