Improve proxy methods

This pull request improves the proxy methods on value classes and anonymous classes.

Of particular importance is avoiding the realization of lazy collections, in case of the raw index access methods.