What is a function of an endpoint?