Should have returned value
Added get/set to fix compile warnings
Return the valueClass if it is already a primitive
Added exception to indicate an invocation or none null needs to be used