CODE: Refactor RedStone.