Fix bugs encountered in some aliases.