Remove duplicate function entries