Use createKey from RendererParams, no need to pass a reference.