Added support for leaf node key remapping, and made some progress with docs.