refine haddock.