Improved URL handling and documentation.