Implement 'endpoint' setter