Add max_write_size, update docs