Added a getRarity property to powerup.