Updating getConnectors method to store discovered connectors