public function finish()
    {
        if (isset($this->components)) {
            foreach ($this->components as $name => $options) {
                $this->dispatcher->finish($name, $options);
            }
        }

        $this->components = new Collection();

        return $this;
    }