Support allowMultiple, closes #7