Added support for typedefs of classes