Refactor aliases.