Adding union() method.