[Resolver] Made anon classes become resolved properly.