/**
  * Resets instance
  */
 public static function resetInstance()
 {
     self::$instance = null;
 }