In addition to thread tasks, add support for proc tasks.