You don't need this here because lodash is available. To extend object `bar` with the properties of object `foo`, just write `_.extend(bar, foo);`