Should be $this->clearParams() not clearParams()