Alternate implementation of pfn.