Add union and intersection methods.