public function afterDelete(Event $event, FieldInstance $instance, ArrayObject $options = null)
    {
        if (!empty($this->_deleted)) {
            TableRegistry::get('Eav.EavAttributes')->delete($this->_deleted->get('eav_attribute'));
            $instance->afterDetach();
            $this->_deleted = null;
        }
    }