Split model-finding into its own method.