Move symbol length validation and only warn about invalid lengths.