On Wed, 3 Nov 2021 20:35:58 +0200 Leonard Mada via R-help <r-help using r-project.org> wrote: > class(p) = c("pm", class(p)); Does NextMethod() work for you? -- Best regards, Ivan