Remove unneeded specs and instruments.