Don;t use resolver to create endpoint.