Optional routing parameter for all methods, and call back with error rather than throwing