Use static singletons without RTTI.