Remove duplicate function declaration