Allow access to the task to enable exception capture.