Added some parameter haddock comments for public functions.