This fix still has to be there to support `write`