Refactoring class initialization, remove unnecessary dispatch_once.