It could be an optional dependency. If router is not set you could throw an exception...