Remove duplicate function definitions.