Remove call to undefined function