This gives useful information for expression search, because we can add lambdas while we're still building the environment, and start looking at locals after that.