ported tools & docgen module