Fix #241: Fix reflective call proxy generation