protected static bool $shouldRegisterNavigation = true; or overriding the equivalent method didn't work.