Follow foreign links when generating the models