Update this code to handle PartialAlias as MayAlias.