Improved pfft.stdapi