public function load($data)
    {
        if (!is_array($data) && !$data instanceof \stdClass) {
            return;
        }

        foreach ($data as $key => $value) {
            $this->set($key, $value);
        }
    }