public static function getInstance() { if (self::$theInstance == null) { self::$theInstance = new RegistrationManager(); } return self::$theInstance; }