Access the ancestors through the singleton class.

This always works even if `class` has been stubbed.