Added add and delete methods to AnimatedArray