Fix false declared public function to protected