LinkExtractor class implementation.