AliasType plugins

Should there be some asserts here?