Added support for partials object.