added support for URL document sources