Added extra class as api for attacks