Added transactions support