Remove undefined function declaration