Added flush method.