Rewrite Document::SetTitle to use a match.