Changed objects to _.extend