/**
  * Reset the cached caches
  *
  * @return void
  */
 public static function resetCaches()
 {
     self::$cache = null;
     self::$structure = null;
     self::$parent_cache = array();
     self::$cache_loaded = false;
     self::$structure_loaded = false;
 }