add service spec.