Allow a FromConfig router to be partly configured from code #3136