Genericize doc references.