Make _.getPath and _.hasPath not consume ks argument