Write implemented but totally untested.