public function overrideType($name, $fqcn)
    {
        if (false === $this->hasType($name)) {
            throw new InvalidArgumentException(sprintf('The type "%s" was not found.', $name));
        }
        return $this->setType($name, $fqcn);
    }