Register Plugin, Doc fixes, fixed naming, and tree_to_index