Refine spec