CODE: Refactor Attacker.