Added helpers to get endpoints from a service