Here, it is a type-registry and a meta class for creating dynamic types.
It should be just a type hierarchy.
As previously discussed, we should use a plain registry and get rid of self.dynamic_type alltogether.