Deprecated some functions, improved method documentation and test for isValidUrl