Remove some dead code around event-type tasks. These are no longer used so we're removing the list and the functions used to access it.