Added Match functionality.