add `flush` methods