Make some private function in class accessible to object using this keyword