typehint route objects and suggest typehint for interfaces