Use functional style in lookupAlias