Refactoring `vendorize()`