Remove application layout code