Removes invalid spec.