reorganized creation of options so that setRequired can be used