Added nested partials support.