[2895]Add option to allow multiple documents