Added type hint for object creation during set
Added Hpath.set method