Fixed --save and --save-dev on named endpoints.