Polish to doc mode