Use foreign keys if possible