warn if doInBackground isn't typeof function