Changed RouteParams to PathParams and fixed view integration code.