ENH: registry will now automatically construct read and write methods

Ready for review
Can you remove `read` and `write` from `TreeNode`?