Extracted common markup into layout.