Added framework for connecting endpoints.