Add method setSelectionFactory()