Add namespace to examples.

Is this correct?
If yes, please don't merge yet, so I can update for the other languages aswell.