aliasrc: refactor aliases to use aliases