function size($min = null, $max = null) {
        $size = [];
        if ($min) $size['min'] = $min;
        if ($max) $size['max'] = $max;
        if (count($size)) $this->data['size'] = $size;
        return $this;
    }