Added basic support for header, footer and section inset.