public function withCharset($charset) { Type::enforce($charset, Type::STRING); $this->charset = $charset; return $this; }