New piojo useful functions.