issue #20154: Re-add model destroy where it was lost in a refactor.