Remove reference to undefined function