Document retrieving of unknown widgets