Added 'multiple' and 'accept' options