Fix syntax error in generated spec.