qMRMLSliceWidget has no attribute named 'imageData'

I am using Slicer version 4.3.1 on ubuntu 16.04. I am getting the error
qMRMLSliceWidget has no attribute named ‘imageData’

Does any know why this is happening?

Please use latest stable or latest preview release and let us know if you find any problems.

I installed the newer version. I get the same error plus more errors.

qMRMLSliceWidget has imageDataConnection method instead.