Reacting to ForeignKey API change.