Add specialization on int32 and double.