ViewRegistry added to keep track of open views.