Some comment improvements
Support '.' in enum value name
Don't crash on empty parameters element