They both extend BaseContextMapper now. If they were to extend BaseRegexContextMapper, and make use of matches() in their mapFrom() and mapTo() methods, they would have the same capability of regular expression filtering as our other ContextMapper implementations do.