Remove unused logic from team settings