public function getMaxColumns($size = null)
    {
        if (is_object($this->content) && property_exists($this->content, 'maxColumns') && !is_null($this->content->maxColumns)) {
            return $this->content->maxColumns;
        }
        if (is_null($size)) {
            $size = $this->baseSize;
        }
        $columnAttribute = 'max' . ucfirst($size) . 'Columns';

        return $this->{$columnAttribute};
    }