Updates non-static calls to be static.