Rework of reading and writing code.