examples: add back dropped method
examples: more recent g++ scope fixes