private function addColumns($alias, $columns, $functions=null) {

to 

public function addColumns($alias, $columns, $functions=null) {