Adds a means to convert text levels to their define constants.