Made comments suitable for Haddock documentation