Singleton allocator for correct order of initialization.