def METHOD_NAME(self, hint=None):
    if is_primitive(self):
        return self
    if hint is None and (self.Class == 'Number' or self.Class == 'Boolean'):
        # favour number for Class== Number or Boolean default = String
        hint = 'Number'
    return self.default_value(hint)