Added ability to explicitly set matches.