Added transactions to templates