Added zfs delegation. And some minor fixes.