Initial layouts code.