Adding new methods Path._set_loc() and Path._get_steps().