Fixing documentation generation

Currently, Haddock generates no documentation for the main files in this library. With this tweak, it will.