A class should be a kind_of its singleton_class (fixes #438)