Added setKeypath.