renamed Type to ClassDefinition and renamed ReadableType to ReadableClassDefinition