Added multi-option support.