Throw apply/make patch functions in dmp.lua