Added the ability to merge WPI files;