Added model selection.