Added more transaction hierarchy support to the Transaction entity