obj.forEach(function(item, index) {
                var isSlot = item && item[attr];
                if(isSlot) {
                    var slot = new Slot(obj, index, item[attr]);
                    result.push(slot);