This should not be a static call, just `$this->write()`.