public function parse($data)
    {
        // These attributes are shared between Habbo and Friends
        $this->setId($data['uniqueId']);
        $this->setHabboName($data['name']);
        $this->setMotto($data['motto']);
        if (isset($data['figureString'])) {
            $this->setFigureString($data['figureString']);
        } elseif (isset($data['habboFigure'])) {
            $this->setFigureString($data['habboFigure']);
        }

        // These could be missing..
        if (isset($data['memberSince'])) {
            $this->setMemberSince($data['memberSince']);
        }

        if (isset($data['profileVisible'])) {
            $this->setProfileVisible($data['profileVisible']);
        }

        if (isset($data['selectedBadges'])) {
            foreach ($data['selectedBadges'] as $badge) {
                $selectedBadge = new Badge();
                $selectedBadge->parse($badge);
                $this->addSelectedBadge($selectedBadge);
            }
        }
    }