Set proper type for setData and getData methods