Added callback function parameter to Transaction object