Added method for passing parameters to the template. This closes #7.