Added AMD wrapper code