Update the style enum to be a typed enum.