Flushing and debugging.