public function withMetadata(string $name, string $label)
    {
        $this->contentGroup->metadata[$name] = ['name' => $name, 'label' => $label, 'order' => $this->order++];

        return $this;
    }