JProxy improvements (note: this commit does not compile)