Updates to Monitor and PatterReplaceFormatter