Added setData and renamed setTag to setData