Adds option-support for partials