More convenient interface for Endpoint