Defenses added to API. Still need to take armor into consideration.