Convert layouts to slim