Added support for genSQL and genRollbackSQL