adds support for context partials (#673)