Eliminate single-use _writeEntity method.