Changing block definition to work with latest version of SDWebImage