Normalized the way we set a layout and output a view