Changed currentView into components.