BattleClasses (derpy) source fixes.