Move AliasTypeRegistry to separate subpackage.
Make AliasType standalone class.