protected function getAttributesCollection(ElementInterface $element) : AttributeCollection
    {
        $collection = new AttributeCollection();
        $element->prepareAttributesCollection($collection);

        return $collection;
    }