Lookup before invoking matches* functions