Updating haddock documentation