Pulling from psf-import core.