pe: Update API based on discussion with imp.