adding an empty options for the flush method

Fixes #1