Partial can contain params

added the `addParam` and `addParams` methods. The values set by these methods can be used in the partial.