Add partial specialization for sum metafunction.