I'd do `$input->getWord('format')` here to get the right filtering on that.