Modernize read and write methods now that dirty methods are updated.