Initial sketch of object-oriented endpoint.