Updated to use main_interface fact.