setData() can't be typehinted

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>