Added read and write functions, please use them.