Force context matching to use function as replacement.