Refactored dice.