Found another place to reuse Provider::resolveAliasIfNeeded.