Added save of endings and tags.