Adding router dependencies.