Make some private method inside class/function accessible to object by using this keyword