- Fixed setting layout in Layout class on block creation.
- Added rendering messages in body.