Updated AbilityEngine to work with API changes