public function withHeader($header) { Type::enforce($header, Header::getClassName()); $this->header = $header; return $this; }