Added keypath mapping (thanks to w01fe for the tip). Using restricted-call in distributed compile to allow proper handling of function metadata, as per https://github.com/Prismatic/plumbing/commit/cc96d73a8248218e59f4d7eb2339ca9cf82c1c09