Added protocol to assist layout. Also now taking view's preferred size into consideration when laying out views.