Simplify AliasRegistry implementation.