Use class singleton for core.