Change aliases setting to use replace module to ensure uniqueness of each alias.