Add additional setAnimation method