[layout] Refactor Lookup::dispatch()
4 files changed