Remove unnecessary tasks