Implement the extensions discovery.