Replaced `setq` with `setf` in `build-simple-endpoint`