Remove unneeded layouts