Revert "Remove deprecated delegate matcher."

This reverts commit 884f44705f0a4135c66fd63c38d25f3467b0c361.