Initializing routing after declarations.