public function addRelation($parameters)
    {
        $bag = $this->getParameter('relations');

        if (!($bag instanceof Bag)) {
            $bag = new Bag();
        }

        $bag->add(new Relation($parameters));

        return $this->setParameter('relations', $bag);
    }