Add support for partials.