Remove undefined function