Update and comment kref and reference structs.