Added multi-argument extend