Using reflection to dispatch local calls.