Resolve aliases.