Only run example code when declared