Added support for user patches to DMD