Detect and mark functions that no longer exist.