Added rough support for accessing getters from java classes.