Closes #1105: Routing callback parameters should be set before initialize method is called