Added elements to the main view.