Template: fix overriding of predefined parameters [Closes #12]