ChoiceBoxX: added type-safe support for separators