Updated proxy function.