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

Pull #2