Updated a function definition for template consistency.