Add type override for Kernel#singleton_class in our type inference engine — RubyMine feature request — Has it shipped?