Initialize matches before use.