Better support for adding _flush() methods