Need to generate the code to use the ForeignKeyLinks