using latest docgen code, fixed dependencies