Basic CRUD operations for pfuncs