Prevents some reflection on route invoke.