public function setA(StringType $name, Attribute $attribute)
    {
        if ($this->hasA($name)) {
            $this->attributes = $this->attributes->kDiff(
                new AttributeMap([$name() => $attribute])
            );
        }

        $this->attributes = $this->attributes->append([$name() => $attribute]);

        return $this;
    }