Add depth and isModule property and make use of them in app example.