Fixes #3384: Added callback-style transactions