Remove duplicate function definition.