Removing duplicate task declaration