Added flush command.