Don't rely on AppRouter name, use same approach as config/application.php