Rename field Transaction.type to Transaction.kind.
Rename field Bet.type to Bet.kind.
Rename field Line.type to Line.kind.