Removed deprecated mainapp