Changes sym to be an enum

Also changed Token and spec to match