DRY up some layouts.