Added support for preconfigured apps.