Add support to precompile partials.