Task functionality.