Use 'project' for finding occurrences.

'pycore's functions aren't used when finding occurrences, so it's better
to just use 'project' directly.