A IL based proxy generator to avoid expensive reflection calls