Adapt examples to old syntax