Allow multiple directories to be passed in via the 'directory' option.