Handles string foreign keys.
Add transactions.