Factor out some more of the 'findFunction' code
move comments around
Remove unnecessary parsing preparation
Delay call to PrepareParsing until really needed