Added newtypes for the specific kinds of Reader and Writer used in the library