Replace RouteObjectMethod by method values.