lexical-address-lookup - refactor for the corresponding write