Allow astropy kernels for beams and small fixes.