Add an 'extend' helper to extend object properties