Improve addRoute argument handling
Clarify optional arguments in docs