Perhaps, re-order this so that the `templateId` is the last param, and is an optional one?