Force route callbacks to be of type \Closure