Added multiple document id capability