remove createAnonymousClass()