Add code to account and transaction models.