Fix the wrapping of the stockID enum.