Rename endpoint registration function
Ignore .DS_Store files