Bug fix: don’t copy curve when serialising!