Added two new methos: is_email and is_url.