Fixing endpoint creation docs.