Workaround for Sublime's replacement behavior
Only fetch API data for classes in the current namespace
tweaked depth threshold