Prelim lib definitions