Extract duplicated version declarations

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>