Adding parameterized way for header to be declared in navigation components