Remove unused constants in Task