Add chooser widget and recursive literal template