public function getFrame($index = 0)
    {
        if (array_key_exists($index, $this->frames)) {
            return $this->frames[$index];
        }

        throw new RuntimeException(
            "Frame with index ({$index}) does not exists."
        );
    }