Adds a reraise on ImportError in pfuncs