Added layouts and frag.