Improves DRY in gs