Add initialization to examples/simple