Adds support for legacy/new complete/success/failure callbacks