CodeSearch: only slurp when loading the class

Fixes #451