Add support of nested transactions