Reducing Repeated Code in Spec