Implemented a functional concept for rendering views.