Fix duplicate function.