Fixed .value getter, was returning the instance intead of the instance.valueOf.