Bring back erroneously removed gendoc call