Initial implementation of tasks.