Updated checking for private slots