persistent and ctrie metaclasses: basic functionality