Fixes typehint for Route