All the ChFunctions are inherited from ChShared , so they can be managed with ChSharedPtr<>