Removing some code duplication.
Updating dist for v3.2.8 release