Get rid of refences to no importan documents