(untested) changes for creating link patterns