Added support to signal flushes to other layers through the detection of null entries.
Added _flush and flush methods, in order to support drivers where explicit flushing can be issued
Added specific implementation of _flush