Improve 'public:' scope finding