Base layout cleanup.