Add earnt and earnt? methods to badge data.