ldoc has a magical `@classmod` module type which tries to detect what is a method and what is a static function. It fails about as often as it works. This commit makes everything explicit to remove such issues. Fixes #2640 Ref #1373
And add the missing documentation