Updated to latest astropy package template