As I mentioned in another pull request, I think it would be better to allow collect_links to accept an argument for ```exclude_external_links```. This would reduce future maintenance.