Added values methods to sum types.