Fix haddock errors