private function applyExtraAttributes()
    {
        // Convert distinguished name string into an array
        if ($this->hasAttribute('distinguishedname')) {
            $dn = $this->getAttribute('distinguishedname');

            $this->setAttribute('dn', $dn);

            $this->setAttribute('dn_array', $this->connection->explodeDn($dn, true));
        }

        // Convert the object category string into an array
        if ($this->hasAttribute('objectcategory')) {
            $oc = $this->getAttribute('objectcategory');

            $this->setAttribute('oc', $oc);

            $this->setAttribute('oc_array', $this->connection->explodeDn($oc, true));
        }
    }