makes endpoint_uri a configuration element