Move backend finding into its own method.