#29 Add optional parameter to define BEGIN statement.

There are cases where a more complex BEGIN statement is needed.