Slight refactor, DocumentState.GetURLs