Remove redundant code

Old code from the old WRITE implementation.