public function addCustomPayloadData($key, $value)
    {
        if (!is_string($value)) {
            throw new Exception\InvalidArgumentException('Custom payload data value must be a string');
        }

        $this->customPayload[$key] = $value;
    }