Supports allowMultiple

Signed-off-by: Srijan Choudhary <srijan4@gmail.com>