Supporting newer versions of imagick