Optimizing result set memory allocation.
Correct initialization of VtblImpl reference. Other improvements for avoiding data structure name collisions.