Cleaning up the layouts.