Modify a spec.