added the ability to pass classes into route bindings
Remove unneeded calls to with
Added some typehints and minor docblock fixes
Merge pull request #4992 from robbo-forks/dragon-patch-3

added the ability to pass classes into route bindings
Fix type hint.