change callbacks to 'plugin, master, worker, session', delete 'task'