Make loading DSFunction more fault tolerant for unresolved function