ENH: registry will now automatically construct read and write methods

Ready for review
Can you update this to handle the compound format case, like you did with `read`'s docstring? Same goes for `format` below.