Adding Type() method to the values.