Split out agov_register