Added support for UMD to exploit new feature of custom stitch library.