Added foreign keys.