Support hiding classes with no JIT-compiled members from class tree