Remove duplicate function.