Shared examples: initialize before any examples

Fixes #81.