Removing unused imports / clearing whitespace
Add _validate_url method to add the scheme if not provided