Implementing badges.