resolves #44 so Routes and Filters are accept type aware.
resolves #44
resolves issues #1 and #44
merge of solution for #1 and #44