Add app externs with example.

The pattern is simple, just never use [ ] access as advanced
compilation workaround.