Removes duplicate spec.