Fix nameclash function declaration