Make the router generic over handler type