Added support for multi-statement commands.