Removed waitForInitialization functionality