Delay dependency on astropy till call.