Haddock formatting