Added support for partials inside each statements