Added support for rendering partials