public function removeFrame($offset)
    {
        if (!isset($this->frames[$offset])) {
            throw new \InvalidArgumentException('Offset does not exist.');
        }

        unset($this->frames[$offset]);

        return $this;
    }