allow registering extra classes for type
0.9.2