Added multiple template selection.