The class should be added if it matches `itemSelector`, so I'd add it after `__itemize`. I would refactor as

```js
var __itemize = Masonry.prototype._itemize;
Masonry.prototype._itemize = function( el ) {
  var items = __itemize.apply( this, arguments );
  return jQuery( items ).addClass('masonry-brick');
};
```