Merge "Reduce code size by sharing slow paths."