Update sample modules to use ref counting form IngestModuleAdapter