Removed unused nestInApp param.