Adapt to new FITS interface