TODO Splitting headers into tokens isn't quite this simple but
this should be OK in this case. It is tempting to change the
header parsing code so there is a one to one mapping between
token and enumeration entry.