Clean up obsolete endpoints
Make endpoint strings constants. Rename endpoint getters.