Refactor custom resource

Hi,

I am refactoring several LWRP resources into a new one. In order to preserve backward compatibility I would like to call the new LWRP from the old LWRP. However, I am not sure how to do that. When I call the new LWPR’s’ action it doesn’t have access to the old LWRP’s instance variables. I presume that I need to subclass the old LWRP from the new LWRP, but how would that look like?

Thanks already!