Added a cache of JavaClass to prevent unnecessary recreation.
Hooked up interface proxy callbacks.