Add ability to perform type conversion on return types of JavaInstanceLink's