public function dumpStack($index = null, $default = null)
    {
        if (array_key_exists($index, $this->registry_stacks)) {
            return $this->registry_stacks[$index];
        }
        return $default;
    }