Added _write and _read impl