Prunes some aliases.