Use dispatch_once to initialize the singleton.