Check for existence of models before linking.