Added Task functionality.