Converting const-tribu parser and validator to new format.