This is rather horrible interface-wise. Should have been separate methods instead, e.g. getAppData and getAll. Can this be changed easily?