Converts a function receiver to a context parameter and updates usages.