Allow routes compiler to handle nested parameterised types