Added support for partials.