Revert scaninput optimizations for compatibility reasons.