Added ability to render partials