Add replacement patterns