Add a method to Task to add hooks on all entries added to that task