Astropy helpers to master