Add Haddock documentation