Made the read method protected, making it easier to inherit the class.