Correcting haddock documentation