Support parameters for partials

Partials can now take params, hashes.