Remove empty spec object