Added the MatchBehavior code.