Add setDetailItem prototype