Update ObjectRouteExtensions.php