Added functionality for existing params in template.

Fixes #4