Technically speaking the `|| {}` in the extend is redundant, since `_.extend({...}, undefined)` is a no-op, but it's not that big a deal.