Fixed issue when dealing with setters in wrappers. Void's have no
parameterised type.