Replace all 'reference ToTableDef' with 'reference ToTable'
Replace all 'reference FromTableDef' with 'reference FromTable'
Replace all 'reference PrimaryKeyIndexDef' with 'reference PrimaryKeyIndex'