Support closures in all callbacks in DC_ProductData (see #753)