Removed some redundant tasks.