Split verifymatch out of spatialmatch.