Added pyfits/astropy.io.fits flexibility