Move controls dependency to view.