setAlias() will now remove the alias if passed NULL.