Removes duplicate spec