Vishal - added matcher interface to allow custom matching.