Added MatchesAny in addition to MatchesAll. Work is now slightly more parameterized.