Removing unnecessary tasks from build task.