Added support for lightweight transactions