public function getContactsAsAssoc()
    {
        $list = array();
        foreach ($this->contacts as $contact) {
            $list[$contact->name] = $contact;
        }

        return $list;
    }