First pass of docgen