Reading the code of SimpleRrouter.