Don't use parse_endpoint/0.