The package generalises the macro patching commands provided by Philipp Lehmann's etoolbox.