This effectively turns remote calling into local calling.

Probably most useful for the unittesting.