Implement my own router factory without needing to modify the source code.