Refactoring for guild rewards.