General refinement process, with notes.