Add a refine method