Remove duplicate functions.