Updated with new `write` features