Update singleton class method to use dispatch_once and new instancetype return type.

Silence analyzer warning regarding the init method