Added protection for unknown options.