Add some JSdoc style documentation.