Improve Haddock documentation for compact.