Make documentation invoke click and fix a bunch of issues