Implemented readMod.