CODE: Refactor MountDoom.