Added type for badges