Specifies match function.