Added Task interface for managing IO tasks.