Fix examples (to match recent library changes)