Rename badge context -> type