Fixes ugly enum tables generated by Doxygen
Adds Pair.read and write