Added hooks for started tasks and incomplete targets.