Fixed crash when command can't be parsed.
Fixed Enums not get valid autocomplete.