optionHTML and tokenHTML can be functions.