public static function map($array, $from, $to = null, $group = null)
    {
        if (is_null($to)) {
            $to = function ($element, $defaultValue) { return $element; };
        }

        return parent::map($array, $from, $to, $group);
    }