Remove unnecessary method isValidAsEmail