Improved data reader and setter.