Added a callback after execution.