Organized layouts and template inheritance a bit.