Battlemod: Adjusted for new API