Using ClassDefinition instead of ReflectionClass everywhere