Added comment for setData method.